# TODO '+' 数据拼接 str、list、tuple
# str
print('hello'+'world')
# list
l1 = [1,2]
l2 = [4,5]
l3 = l1 + l2
print(l3)
#tuple
print((1,2) + (3,4))

# todo * 重复 ，只能和整数相乘 str、list、tuple
#str
print(('--'*3))
#list
print([1,2] * 3)
#tulie
print((1,2)*3)

# todo in 判断元素在容器中      #如果元素在则返回Ture，不在则返回FALSE
#语法： item in container
#str
print('a' in 'abc')
#list
print('a' in ['a','b'])
# tuple
print('a' in ('a',))
# dict
print('a' in {'a':1,'b':2}.values())  #a是否在字典的值里


























